package DesignMode;


public class StringDemo {
    public static void main(String[] args) {
        StringBuilder stringBuilder=new StringBuilder();
//        stringBuilder.append("1");
//        System.out.println(stringBuilder);
        System.out.println(method("abc"));
    }

    public static String method(String className){
        StringBuilder str=new StringBuilder();
        return str.append((className.charAt(0)+"").toUpperCase()).append(className.substring(1).toLowerCase()).toString();
    }
}
